package co.fitstart.mobile.service;

import java.util.List;

import com.demo2do.core.support.Page;

import co.fitstart.entity.credit.product.CreditProduct;
import co.fitstart.entity.credit.product.CreditProductTag;
import co.fitstart.entity.user.User;

/**
 * @author Guangli Yan
 *
 */
public interface CreditMallService {

	/**
	 * @param hot
	 * @return
	 */
	List<CreditProduct> listCreditProduction(CreditProductTag creditProductTag);

	/**
	 * @param tab
	 * @param page
	 * @return
	 */
	List<CreditProduct> listCreditProduction(CreditProductTag tab, Page page);

	/**
	 * @param creditProduct
	 * @param user
	 * @return
	 */
	int calculateMaxExchangeNum(CreditProduct creditProduct, User user);

	
	
}
